<%-- 
    Document   : movepostbody
    Created on : Apr 30, 2011, 10:26:18 PM
    Author     : sh
--%>

<%@page contentType="text/html" pageEncoding="windows-1252"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <html:form action="/movepost.do?pagenumber=${requestScope.pagenumber}&threadid=${threadid}" method="post">
            <html:hidden property="postId" value="${onepost.postId}"/>
        <table border="0">
            <thead>
                <tr>
                    <th colspan="2">Move Post</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td colspan="2"><font color="red" size="5"><html:errors property="errormove"/></font> </td>

                </tr>
                <tr>
                    <td>Title :</td>
                    <td><bean:write name="onepost" property="title"/></td>
                </tr>
                <tr>
                    <td>Post :</td>
                    <td><bean:write name="onepost" property="body" filter="false"/></td>
                </tr>
                <tr>
                    <td>Move To Thread :</td>
                    <td><html:select property="threadId">
                            <html:optionsCollection name="forums" property="threads" label="title" value="threadId"/>
                        </html:select></td>
                </tr>
                <tr>
                    <td colspan="2"><html:submit>Move</html:submit></td>
                </tr>

            </tbody>
        </table>

        </html:form>
    </head>
    <body>
        <h1>Hello World!</h1>
    </body>
</html>
